package com.be.beadmin.quality.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Description: 检验单检验项
 * @author: Jiaming Zheng
 * @Date: Create in 15:22 2023/5/28
 * @Modified By:
 **/
@Data
@Entity
@Table(name = "T_QM_InspectionItemValue")
public class InspectionItemValue extends BaseEntity {

    @Column(name = "TemplateInspectionItemId", columnDefinition = "VARCHAR(50) COMMENT '模板质检项Id' ")
    private String templateInspectionItemId;

    @Column(name = "InspectionTaskId", columnDefinition = "VARCHAR(50) COMMENT '检验任务Id' ")
    private String inspectionTaskId;

    /**
     * 这个是单选选择结果  （ex:是）
     */
    @Column(name = "RightValue", columnDefinition = "text COMMENT '单选选择结果' ")
    private String rightValue;

    /**
     * 这个是多选选择结果 (ex:1|2|3)
     */
    @Column(name = "MultiValue", columnDefinition = "text COMMENT '多选选择结果' ")
    private String multiValue;

    /**
     * 这个是多选中的其他描述选项
     */
    @Column(name = "MultiDesValue", columnDefinition = "VARCHAR(50) COMMENT '多选中其他描述' ")
    private String multiDesValue;

    /**
     * 填空中的描述字段/单多选中的描述明细
     */
    @Column(name = "DescValue", columnDefinition = "VARCHAR(50) COMMENT '详细描述/描述明细' ")
    private String descValue;
}
